<?php slot('coursesNav', 'active') ?>
<div class="courses" id="wrapper">
	<div id="content">
		<div id="main">
			<div class="main-heading">
				<h1><?php echo $group->getName() ?></h1>
			</div>

			<div class="non-member">
				<h1>You're not a member of this group.</h1>
				<p>
					You must be a member of this group in order to participate. 
					Group members get access to Group Tasks, Annotations, Notes and Readings. 
					As a group member you'll be able to create, assign, volunteer, and edit group tasks. 
					To become a member, you must be approved by the group admin. 
					<?php echo link_to('Request membership now &#xBB;', 'group_members/create?group_id='.$group->getId()) ?>
				</p>
				<div class="group-details">
					<h2><?php $group->getName() ?></h2>
					<p class="members"><?php echo $group->countGroupMembers()?> Members</p>
					<p><?php $group->getName() ?></p>
					<?php echo link_to('Request Membership', 'group_members/create?group_id='.$group->getId(), 'class="btn_request-membership"') ?>
				</div>
				<h1>What you're missing</h1>
				<ul>
					<li><img alt="Keep Up-to-Date" src="/images/img_up-to-date.jpg"/>
                                Keep Up-to-Date
                            </li>
					<li><img alt="Manage Taskse" src="/images/img_manage-tasks.jpg"/>
                                Manage Tasks
                            </li>
					<li class="last"><img alt="Share Notes" src="/images/img_share-notes.jpg"/>
                                Share Notes
                            </li>
				</ul>
			</div>
		</div>
		<div id="sidebar">
			<div class="module members">
				<h3 class="gradient dark">Members</h3>
				<img alt="Members Only" src="/images/img_members-only_members.jpg"/>
			</div>
			<div class="module files">
				<h3 class="gradient dark">Group Files</h3>
				<img alt="Members Only" src="/images/img_members-only_files.jpg"/>
			</div>
		</div>
	</div>

</div>
